<script setup>
import { omit } from 'lodash-es'
import iconProps from './props'
import { computed } from 'vue'
defineOptions({
  name: 'LeeIcon',
})
const props = defineProps(iconProps)
const filterProps = computed(() => omit(props, ['type']))
</script>

<template>
  <i class="lee-icon" :class="{ [`lee-icon--${props.type}`]: props.type }">
    <font-awesome-icon v-bind="filterProps" />
  </i>
</template>
